package strategy;

public class Factory {

	public static Go createGo(int value) {
		if (value < 100) {
			return new Bike();
		}

		if (value < 10000) {
			return new Bus();
		}
		return new Plane();

	}

}
